/*
//Scrollbar with mootools plugin
window.addEvent('domready', function(){
	
	var redditListScrollbar = new ScrollBar('subredditlist', 'bar', 'knob', {
		slider: {
			mode: 'vertical',
			offset: 0
		}
	});
	
	redditListScrollbar.set(200);
	

});
*/

//scrollbar with jscrollpane plugin

function setScrollbar(){
	
	var settings = {
		autoReinitialise: true
	};
	
	$("#subredditlist").jScrollPane(settings);
	$("#content").jScrollPane(settings);
}